package com.ss.android.article.base.feature.update.activity;

import android.text.Layout;
import android.view.View;

final class n implements Runnable {
    private final g.c a;

    n(g.c arg1) {
        this.a = arg1;

    }

    public final void run() {
        if (this.a.c != null) {
            Layout v0 = this.a.c.getLayout();
            if (v0 != null) {
                int v1 = v0.getLineCount();
                if (v1 > 0) {
                    if (v0.getEllipsisCount(v1 - 1) <= 0) {
                        return;
                    } else if (v0.getEllipsisStart(v1 - 1) < 2) {
                    } else {
                        return;
                    }
                }

                this.a.c.setVisibility(View.GONE);
            }
        }
    }
}

